<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta http-equiv="X-UA-Compatible" content="IE=7">
<title>对比页面-MBA中国网</title>
<!-- <link rel="shortcut icon" href="http://www.mbachina.com/favicon.ico" /> -->
<link href="<?php echo $cfg_templets_skin; ?>/style/collegelibrary/style1.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $cfg_templets_skin; ?>/style/collegelibrary/conmon_1.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $cfg_templets_skin; ?>/js/collegelibrary/jquery-1.4.min.js"></script> 
<script type="text/javascript" src="<?php echo $cfg_templets_skin; ?>/js/collegelibrary/cookie.js"></script>
<style id="style-1-cropbar-clipper">/* Copyright 2014 Evernote Corporation. All rights reserved. */
.en-markup-crop-options {
    top: 18px !important;
    left: 50% !important;
    margin-left: -100px !important;
    width: 200px !important;
    border: 2px rgba(255,255,255,.38) solid !important;
    border-radius: 4px !important;
}
.en-markup-crop-options div div:first-of-type {
    margin-left: 0px !important;
}
</style>
</head>

<body>
<div class="top_nav">
  <h1><a href="http://www.mbachina.com" target="_blank">冠君MBA</a></h1>
  <ul>
    <li><a href="http://www.guanjunedu.com/" target="_blank" style="color:#898989; text-decoration:none;">冠君教育</a>&nbsp;|&nbsp;</li>
    <li><a href="collegelist.php">MBA院校库</a>&nbsp;|&nbsp;</li>
  </ul>
</div>

<form action="../plus/collegesearch.php" method="get">
<div class="top_search">
  <div class="logo"><a href="collegelist.php" ><img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/logo1.gif" alt="MBA院校库" /></a></div>
  <ul id="selected">
    <li class="li_1 touchmenu">
    <select name="search_area" style="width:71px;border:0; font-size:12px;">
    <option value="0">地区</option>
    <?php 
        $area = getTopData('area');
        foreach ($area as $key => $value) {
          echo "<option value='$key'>$value</option>";
        }
    ?>      
    </select>
    </li>

     <li class="li_2 touchmenu">
      <select  name ="search_feerange" style="border:0; width:71px; font-size:12px;">
        <option value="0">学费</option>
        <?php 
        $fee_range = getTopData('feeRange');
        foreach ($fee_range as $key => $value) {
          echo "<option value='$key'>$value</option>";
        }
        ?>
      </select>
  </li>

  <li class="li_3 touchmenu">
    <select name="search_projecttype" style=" width:82px;border:0; font-size:12px;">
      <option value="0">项目类型</option>
      <?php 
        $project_type = getTopData('projectType');
        foreach ($project_type as $key => $value) {
          echo "<option value='$key'>$value</option>";
        }
      ?>
    </select>
  </li>

  <li class="li_4">
     <input type="text" class="keyword" name="keyword" id="textJC" onclick="this.value='';" value="输入学校名称" /><input type="image" src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/search_ss.gif" class="ss" />
  </li>
  </ul>
</div>
</form> 
<div class="blank10"></div>

<div class="address">
  <a href="http://mba.mbachina.com/">MBA院校库</a>&nbsp;&gt;&nbsp;<a href="http://mba.mbachina.com/index/contrast#" target="_blank">院校对比</a>
</div>

<div class="center">
 <div class="yy"></div>
  <table cellpadding="0" cellspacing="0" border="0" width="100%">
     <tbody><tr>
        <td width="16%" class="bg1" height="28">&nbsp;</td>
        <td width="21%">&nbsp;</td>
        <td width="21%" class="bg2">&nbsp;</td>
        <td width="21%">&nbsp;</td>
        <td width="21%" class="bg2">&nbsp;</td>
     </tr> 
     <tr>
        <td class="bg1"><strong>院校名称</strong>
        </td>
        <?php 
            for ($i=0; $i <4 ; $i++) {
                if ($collegeinfo_totle[$i]!='') {
        ?>
          <td <?php //if($i%2==0) echo "class='bg2'"; ?>><span class="xy_img">
          <a href="<?php echo $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=index&schoolId=<?php echo $collegeinfo_totle[$i]['collegeId']; ?>"><img src="<?php echo $collegeinfo_totle[$i]['logo']; ?>" height=83px></a></span><span class="yxmc"><a href="<?php echo $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=index&schoolId=<?php echo $collegeinfo_totle[$i]['collegeId']; ?>"><?php echo $collegeinfo_totle[$i]['name']; ?> </a></span>
          </td>
        <?
                }// if end
                else{
        ?> 
          <td>         
          <select id="myarea" onchange="changecity(this.value,<?php echo $i;?>);">
            <option value="0">-选择地区-</option>
        <?php 
            $area = getTopData('area');
            foreach ($area as $key => $value) {
                echo "<option value='$key'>$value</option>";
            }
        ?>
          </select>
          <select id="myschools<?php echo $i;?>">
            <option value="0">-选择学校-</option>
          </select><br>
          <a href="javascript:void(0)" onclick="list_db(<?php echo $i;?>)"><img src="<?php echo $cfg_templets_skin; ?>/images/collegelibrary/db_button.gif"></a>
          </td>
        <?php    
                }//else end
            }//for end
        ?>	                          
     </tr> 
     </tbody>
    </table>
 
<div class="title">基本信息</div>
  <table cellpadding="0" cellspacing="0" border="0" width="100%">
     <tbody><tr>
        <td width="16%" class="bg1">所在地区</td>    
        <?php 
            for ($i=0; $i <4 ; $i++) {
        ?>          
         <td width="21%"><?php if($collegeinfo_totle[$i]!='') echo GetEnumsValue('area',$collegeinfo_totle[$i]['area']); ?></td>
        <?
            }//for end
        ?>                 
     </tr> 
     <tr>
        <td width="16%" class="bg1">创办时间</td>
        <?php 
            for ($i=0; $i <4 ; $i++) {
        ?>                   
         <td width="21%"><?php echo $collegeinfo_totle[$i]['foundTime']; ?><?php if($collegeinfo_totle[$i]!='') echo "年"; ?></td>                
        <?
          }//for end
        ?>
     </tr> 
     <tr>
        <td width="16%" class="bg1">国际认证</td>   
      <?php 
        for ($i=0; $i <4 ; $i++) {
      ?>               
         <td width="21%"><?php echo $collegeinfo_totle[$i]['interAttest']; ?></td>
        <?
          }//for end
        ?>            
     </tr> 
     <tr>
        <td width="16%" class="bg1">院校性质</td>
      <?php 
        for ($i=0; $i <4 ; $i++) {
      ?>      
         <td width="21%">
        <?php if($collegeinfo_totle[$i]!='') echo deal_multivalue('level',$collegeinfo_totle[$i]['level']); ?>&nbsp;</td> 
        <?
          }//for end
        ?>
     </tr> 
     <tr>
        <td width="16%" class="bg1">官方网站</td> 
      <?php 
        for ($i=0; $i <4 ; $i++) {
      ?>
         <td width="21%"><a href="<?php echo $collegeinfo_totle[$i]['internetSite']; ?>" target="_blank"><?php echo $collegeinfo_totle[$i]['internetSite']; ?></a></td>
        <?
          }//for end
        ?> 
     </tr> 
     <tr>
       <td width="16%" class="bg1">奖学金</td>
      <?php 
        for ($i=0; $i <4 ; $i++) {
      ?>
        <td width="21%"><?php echo $collegeinfo_totle[$i]['scholarship']; ?></td> 
        <?
          }//for end
        ?>
     </tr>
     <tr>
       <td width="16%" class="bg1">院校地址</td>
      <?php 
        for ($i=0; $i <4 ; $i++) {
      ?>       
         <td width="21%" style="text-align:left;"><?php echo $collegeinfo_totle[$i]['address']; ?></td> 
        <?
          }//for end
        ?>
     </tr> 
  </tbody></table>
  <div class="kongbai"></div>
  <div class="title">MBA招生信息</div>
  <table cellpadding="0" cellspacing="0" border="0" width="100%">
     <tbody><tr>
        <td width="16%" class="bg1">项目类别</td>
        <?php 
          for ($i=0; $i <4 ; $i++) {
        ?>    
         <td width="21%"><?php if($collegeinfo_totle[$i]!='') echo deal_multivalue('projectType',$collegeinfo_totle[$i]['projectType']); ?>&nbsp;</td>  
        <?
          }//for end
        ?>
     </tr> 
     <tr>
        <td width="16%" class="bg1">分数线类别</td>
        <?php 
          for ($i=0; $i <4 ; $i++) {
        ?>    
         <td width="21%"><?php if($collegeinfo_totle[$i]!='') echo GetEnumsValue('scoreType',$collegeinfo_totle[$i]['scoreType']); ?></td>  
        <?
          }//for end
        ?>
     </tr> 
     <tr>
        <td width="16%" class="bg1">是否接受调剂</td>
        <?php 
          for ($i=0; $i <4 ; $i++) {
        ?>    
         <td width="21%"><?php if($collegeinfo_totle[$i]!='') {if($collegeinfo_totle[$i]['regulator']) echo "是"; else echo "否";} ?></td> 
        <?
          }//for end
        ?>
     </tr> 
     <tr>
        <td width="16%" class="bg1">招生人数</td>
        <?php 
          for ($i=0; $i <4 ; $i++) {
        ?>     
         <td width="21%"><?php echo $collegeinfo_totle[$i]['recruitNum']; ?></td>  
        <?
          }//for end
        ?>
     </tr> 
     <tr>
        <td width="16%" class="bg1">学制</td>
        <?php 
          for ($i=0; $i <4 ; $i++) {
        ?>    
         <td width="21%" class="bg2"><?php echo $collegeinfo_totle[$i]['eduTime']; ?></td>    
        <?
          }//for end
        ?> 
     </tr> 
     <tr>
        <td width="16%" class="bg1">学费</td>
        <?php 
          for ($i=0; $i <4 ; $i++) {
        ?>    
         <td width="21%"><?php echo $collegeinfo_totle[$i]['feeIntroduction']; ?></td>   
        <?
          }//for end
        ?>  
     </tr> 
     <tr>
        <td width="16%" class="bg1">历年分数线</td>
        <?php 
          for ($i=0; $i <4 ; $i++) {
        ?>    
         <td width="21%" class="bg2" style="text-align:left;"><?php echo $collegeinfo_totle[$i]['scoreLineLog']; ?></td>   
        <?
          }//for end
        ?>
     </tr> 
     <tr>
        <td width="16%" class="bg1">历年报考人数</td>
        <?php 
          for ($i=0; $i <4 ; $i++) {
            $college_id = $collegeinfo_totle[$i]['collegeId'];
            $inquery = "SELECT * FROM `#@__collegeinfo_recruit`  WHERE collegeId=$college_id";
            $dsql->SetQuery($inquery);
            $dsql->Execute();
            $collegeinfo_recruit = array();
            while($row = $dsql->GetArray()){
                $collegeinfo_recruit[]=$row;
            }
        ?>    
         <td width="21%">
         <?php
            foreach ($collegeinfo_recruit as $key => $value) {
        ?>
            <?php echo $value['year']; ?>年：&nbsp;<?php echo $value['applyNum']; ?><br>
         <?   
          }
         ?>       
         </td>  
        <?
          }//for end
        ?>                
     </tr> 
     <tr>
        <td width="16%" class="bg1">历年实考人数</td>
        <?php 
          for ($i=0; $i <4 ; $i++) {
            $college_id = $collegeinfo_totle[$i]['collegeId'];
            $inquery = "SELECT * FROM `#@__collegeinfo_recruit`  WHERE collegeId=$college_id";
            $dsql->SetQuery($inquery);
            $dsql->Execute();
            $collegeinfo_recruit = array();
            while($row = $dsql->GetArray()){
                $collegeinfo_recruit[]=$row;
            }
        ?>    
         <td width="21%">
         <?php
            foreach ($collegeinfo_recruit as $key => $value) {
        ?>
            <?php echo $value['year']; ?>年：&nbsp;<?php echo $value['examNum']; ?><br>
         <?   
          }
         ?>       
         </td>  
        <?
          }//for end
        ?>                
     </tr>
     </tr> 
     <tr>
        <td width="16%" class="bg1">历年录取人数</td>
        <?php 
          for ($i=0; $i <4 ; $i++) {
            $college_id = $collegeinfo_totle[$i]['collegeId'];
            $inquery = "SELECT * FROM `#@__collegeinfo_recruit`  WHERE collegeId=$college_id";
            $dsql->SetQuery($inquery);
            $dsql->Execute();
            $collegeinfo_recruit = array();
            while($row = $dsql->GetArray()){
                $collegeinfo_recruit[]=$row;
            }
        ?>    
         <td width="21%">
         <?php
            foreach ($collegeinfo_recruit as $key => $value) {
        ?>
            <?php echo $value['year']; ?>年：&nbsp;<?php echo $value['recruitNum']; ?><br>
         <?   
          }
         ?>       
         </td>  
        <?
          }//for end
        ?>                
     </tr>       
     </tr> 
     <tr>
        <td width="16%" class="bg1">历年录取比例</td>
        <?php 
          for ($i=0; $i <4 ; $i++) {
            $college_id = $collegeinfo_totle[$i]['collegeId'];
            $inquery = "SELECT * FROM `#@__collegeinfo_recruit`  WHERE collegeId=$college_id";
            $dsql->SetQuery($inquery);
            $dsql->Execute();
            $collegeinfo_recruit = array();
            while($row = $dsql->GetArray()){
                $collegeinfo_recruit[]=$row;
            }
        ?>    
         <td width="21%">
         <?php
            foreach ($collegeinfo_recruit as $key => $value) {
        ?>
            <?php echo $value['year']; ?>年：&nbsp;<?php echo number_format($value['recruitProportion']*100, 2, '.', '').'%'; ?><br>
         <?   
          }
         ?>       
         </td>  
        <?
          }//for end
        ?>                
     </tr>    
     </tr> 
   </tbody></table>
   <div class="kongbai"></div>
   <div class="title">其他信息</div>
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
     <tbody><tr>
        <td width="16%" class="bg1">项目特色</td>
        <?php 
          for ($i=0; $i <4 ; $i++) {
            $college_id = $collegeinfo_totle[$i]['collegeId'];
            $inquery = "SELECT * FROM `#@__collegeinfo_project`  WHERE collegeId=$college_id";
            $collegeinfo_project = $dsql->GetOne($inquery);
        ?>     
         <td width="21%" style="text-align:left;">
<?php echo $collegeinfo_project['title'].$collegeinfo_project['content'];  ?>
<span class="color1"><a href="<?php echo $cfg_cmsurl; ?>/wenda/index.php?ct=collegeinfo_detail&ac=index&schoolId=<?php echo $college_id;  ?>" target="_blank"><?php if($collegeinfo_totle[$i]!='') echo "[详情]";?></a></span>
         </td>  
        <?
          }//for end
        ?>
                
     </tr> 
     <tr>
        <td width="16%" class="bg1">著名教授</td>
        <?php 
          for ($i=0; $i <4 ; $i++) {
            $college_id = $collegeinfo_totle[$i]['collegeId'];
            $inquery = "SELECT * FROM `#@__collegeinfo_professor`  WHERE collegeId=$college_id";
            $dsql->SetQuery($inquery);
            $dsql->Execute();
            $collegeinfo_professor = array();
            while($row = $dsql->GetArray()){
                $collegeinfo_professor[]=$row;
            }
        ?>    
         <td width="21%" class="bg2" style="text-align:left;">
         <?php
            foreach ($collegeinfo_professor as $key => $value) {
          ?>
            <?php echo $value['name']; ?><br>
         <?   
          }
         ?>       
         </td>   
        <?
          }//for end
        ?>
     </tr> 
     <tr>
        <td width="16%" class="bg1">知名校友</td>
        <?php 
          for ($i=0; $i <4 ; $i++) {
            $college_id = $collegeinfo_totle[$i]['collegeId'];
            $inquery = "SELECT * FROM `#@__collegeinfo_graduate`  WHERE collegeId=$college_id";
            $dsql->SetQuery($inquery);
            $dsql->Execute();
            $collegeinfo_graduate = array();
            while($row = $dsql->GetArray()){
                $collegeinfo_graduate[]=$row;
            }
        ?>    
         <td width="21%" class="bg2" style="text-align:left;">
         <?php
            foreach ($collegeinfo_graduate as $key => $value) {
          ?>
            <?php echo $value['name']; ?><br>
         <?   
          }
         ?>       
         </td>   
        <?
          }//for end
        ?>
     </tr> 
    </tbody></table>
   <div class="shengming">
     本院校库所有信息版权由MBA中国网所有。由于各方面情况不断调整与变化，本系统所提供的院校信息仅供参考，敬请考生以院校官方公布的正式信息为准。
   </div> 
</div>

<div class="blank15"></div>
<?php
  include "college_footer.htm";
?> 
<script type="text/javascript">
function changecity(citycode,i) {
    if(citycode == 0) {
        $('#myschools'+i).html("<option value='0'>请选择</option");
    } else {
        $.ajax({
           type: "POST",
           url: "collegeinfo_getschools.php",
           data: "citycode="+citycode,
           success: function(str){
             $('#myschools'+i).html(str);
           }
         });
     }
}
    
function list_db(i){
    var sid = $("#myschools"+i).val();
    if(sid == 0) {
        alert("请选择学校!");
        return;
    } else {
        var coo=Cookie.get('sid'); 
         var arr= coo.split(","); 
          if(arr.length>1){             
              for(var i=0;i<arr.length;i++)
              {
                      if(arr[i]==sid) {
                          alert('该学校已在对比中！');
                          return;
                      }
              }

               var len = coo.replace(sid+',',"");
               if(arr.length>4)
               {
                   alert('你已经选择四个学校对比了！');
                    return;
               } else {   
                   Cookie.set('sid', sid+','+len, 259200);
                   window.location.href='collegecontrast.php';
                }   
          }
    }
} 
    
$(document).ready(function(){
     $("#menu_list dd").hover(function(){
        $("#menu_list dd").removeClass("sel");
        $(this).addClass("sel");
        $(".xy .xy_list").hide();
        $($(".xy .xy_list").get($("#menu_list dd").index($(this)))).show();
     },function(){})
     $(".touchmenu div").click(function(){
         $(".touchmenu").children("ul").hide();
         $(this).next().show();
        $(this).next().children("li").click(function(){
            $(this).parent("ul").parent("li").children("div").children("span").text($(this).text());
            $(".touchmenu").children("ul").hide();
        });
        $(this).next().children("li").hover(function(){
            $(this).css({"background":"#b4bcda","color":"#fff"})
        },function(){
            $(this).css({"background":"#FAFAFD","color":"#5166B4"})
        })
     })
     $("#textJC").click(function(){
         if($(this).val().indexOf("输入")!=-1){
            $(this).val("")
        }
     })
     $("#textJC").blur(function(){
         if($(this).val()==""){
            $(this).val("输入学校名称")
        }
     })
     $(".lf_cont .dq a").click(function(){
         $(".lf_cont .dq a").removeClass("sel");
        $(this).addClass("sel");
        return false
     })
})
</script>

</body>
</html>